<?php

	class cmd_pointHistory extends mdl_pointHistory
	{
		function getHistoryReason()
		{
			//type: 1.订单得积分,2.消费积分,3.无分类
			$aHistoryReason = parent::getHistoryReason();
			/* alone newadd start 2009年9月16号 10:17:23 */
			$aHistoryReason['promotion_link_get'] = array(
                                                    'describe' => __('推广链接获得积分'),
                                                    'type' => 1,
                                                    'related_id' => '',
                                                );
			$aHistoryReason['reg_get_point'] = array(
                                                    'describe' => __('注册送积分'),
                                                    'type' => 3,
                                                    'related_id' => '',
                                                );
			/* alone newadd end 2009年9月16号 10:19:13 */
			return $aHistoryReason;
		}
	}

?>